package com.ruoyi.fun.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流轨迹对象 ec_logistics_track
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class EcLogisticsTrack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轨迹ID */
    private Long trackId;

    /** 物流ID */
    @Excel(name = "物流ID")
    private Long logisticsId;

    /** 轨迹时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "轨迹时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trackTime;

    /** 轨迹内容 */
    @Excel(name = "轨迹内容")
    private String trackContent;

    /** 轨迹地点 */
    @Excel(name = "轨迹地点")
    private String trackLocation;

    /** 物流单号（关联查询） */
    private String logisticsNo;

    
    /** 组织ID */
    @Excel(name = "组织ID")
    private Long orgId;

    public void setTrackId(Long trackId) 
    {
        this.trackId = trackId;
    }

    public Long getTrackId() 
    {
        return trackId;
    }

    public void setLogisticsId(Long logisticsId) 
    {
        this.logisticsId = logisticsId;
    }

    public Long getLogisticsId() 
    {
        return logisticsId;
    }

    public void setTrackTime(Date trackTime) 
    {
        this.trackTime = trackTime;
    }

    public Date getTrackTime() 
    {
        return trackTime;
    }

    public void setTrackContent(String trackContent) 
    {
        this.trackContent = trackContent;
    }

    public String getTrackContent() 
    {
        return trackContent;
    }

    public void setTrackLocation(String trackLocation) 
    {
        this.trackLocation = trackLocation;
    }

    public String getTrackLocation() 
    {
        return trackLocation;
    }

    public void setLogisticsNo(String logisticsNo) 
    {
        this.logisticsNo = logisticsNo;
    }

    public String getLogisticsNo() 
    {
        return logisticsNo;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trackId", getTrackId())
            .append("logisticsId", getLogisticsId())
            .append("trackTime", getTrackTime())
            .append("trackContent", getTrackContent())
            .append("trackLocation", getTrackLocation())
            .append("createTime", getCreateTime())
            .toString();
    }
}
